class Phone:
    def __init__(self,brand,price,color):
        self.brand=brand
        self.price=price
        self.color=color
    def call(self):
        print(self.brand+"在通电话")
p1=Phone("huawei",18888,"黑色")
p1.call()